	<div class="lay_board">
		<?php if($current_list) { ?>
			<?php $ucc = $current_list[0]; ?>
				<ul class="video_detail">
					<li class="video">
					<div id="lay_ucc_detail">
					<?php // 대표이미지 출력
						switch($movie_content['ezucc_selthumb'])
						{
							case 0:
								$thumb_path = $App->_url_agency_data.'/'.$ucc['ucc']['ezucc_path'].'/'.$ucc['ucc']['ezucc_thumbnail'];
								break;
							case 1:
								$thumb_path = $App->_url_agency_data.'/'.$ucc['ucc']['ezucc_path'].'/'.$ucc['ucc']['ezucc_thumbnail1'];
								break;
							case 2:
								$thumb_path = $App->_url_agency_data.'/'.$ucc['ucc']['ezucc_path'].'/'.$ucc['ucc']['ezucc_thumbnail2'];
								break;
							case 3:
								$thumb_path = $App->_url_agency_data.'/'.$ucc['ucc']['ezucc_path'].'/'.$ucc['ucc']['ezucc_thumbnail3'];
								break;
							case 4:
								$thumb_path = $App->_url_agency_data.'/'.$ucc['ucc']['ezucc_path'].'/'.$ucc['ucc']['ezucc_thumbnail4'];
								break;
							case 5:
								$thumb_path = $App->_url_agency_data.'/'.$ucc['ucc']['ezucc_path'].'/'.$ucc['ucc']['ezucc_thumbnail5'];
								break;
						}
					?>
					<object type="application/x-shockwave-flash" data="/ezbbs/ezplayer/ezPlayer.swf" width="400" height="300">
					<param name="movie" value="/agency/ezplayer/ezPlayer.swf" />
					<param name="wmode" value="opaque" />
					<param name="allowScriptAccess" value="always" />
					<param name="allowFullScreen" value="true" />
					<param name="quality" value="high" />
					<param name="SeamlessTabbing" value="true" />
					<param name="flashVars" value="flvfile=<?=$App->_url_agency_data.'/'.$ucc['ucc']['ezucc_path'].'/'.$ucc['ucc']['ezucc_name']?>&amp;fpWidth=400&amp;fpHeight=300&amp;mainImg=<?=$thumb_path?>" />
					<p>해당 컨텐츠를 보려면 <a href="http://www.adobe.com/kr/products/flashplayer/">Flash Player</a>가 필요합니다.</p>
					</object>
					</div>

					
					</li>
					<li class="text">
						<dl>
							<dt><a href="<?=$_SERVER['PHP_SELF']?>?job=detail&amp;<?=http_build_query($paras, '', '&amp;')?>&amp;eb_seq=<?=$ucc['eb_seq']?>"><?=$String->cut_string($ucc['eb_subject'],0,30)?></a><p>- <?=$ucc['eb_name']?></p></dt>
							<dd><a href="<?=$_SERVER['PHP_SELF']?>?job=detail&amp;<?=http_build_query($paras, '', '&amp;')?>&amp;eb_seq=<?=$ucc['eb_seq']?>"><?=$String->cut_string($ucc['eb_txt'],0,600)?></a></dd>
						</dl>
					</li>
				</ul>
				<?php } ?>
				<?php if (count($current_list)) {
					unset($current_list[0]);					
				?>
				<ul class="video_list">
					<?php foreach ($current_list as $k => $v) { ?>
					<li>
						<p class="video"><a href="<?=$_SERVER['PHP_SELF']?>?job=detail&amp;<?=http_build_query($paras, '', '&amp;')?>&amp;eb_seq=<?=$v['eb_seq']?>"><img src="<?=$App->_url_agency_data.$v['ucc']['ezucc_path'].'/'.$v['ucc']['ezucc_thumbnail']?>" alt=""  width="140" height="140"/></a></p>
						<p class="text"><a href="<?=$_SERVER['PHP_SELF']?>?job=detail&amp;<?=http_build_query($paras, '', '&amp;')?>&amp;eb_seq=<?=$v['eb_seq']?>"><?=$String->cut_string($v['eb_subject'],0,20)?></a><?php if ($v['new']) { ?>
						<img src="/agency/images/board/icon_new.gif" alt="새글" />
						<?php } ?></p>
					</li>
					<?php } ?>
				</ul>
					<?php } else { ?>
					<?php if (empty($g_keyword)) { ?>
							<p class="board_top_text"  style="height:100px;text-align:center">등록된 게시물이 없습니다.</p>
					<?php } else { ?>
							<p class="board_top_text"  style="height:100px;text-align:center">검색된 게시물이 없습니다.</p>
					<?php } ?>
			<?php } ?>
		

		<div class="board_list_btm">
			<p class="list_pageing">
				<?=$Paging->icon_default('/agency/images/board/', array('partition' => ' ', 'self' => "<strong>%d</strong>"))?>
			</p>
			<p class="board_list_btn"><a href="<?=$_SERVER['PHP_SELF']?>?job=insert&amp;<?=http_build_query($paras, '', '&amp;')?>"><img src="/agency/images/board/write_btn.gif" alt="글쓰기" /></a></p>
		</div>



		<div class="board_search">
			<form name="ezbbs_search_form" id="ezbbs_search_form" method="get" action="<?=$_SERVER['PHP_SELF']?>">
			<input type="hidden" name="job" value="<?=$job?>" />
			<input type="hidden" name="subjob" value="<?=$subjob?>" />
			<?php foreach ($paras as $k => $v) { ?>
			  <?php if ($k != 'column' && $k != 'keyword') { ?><input type="hidden" name="<?=$k?>" value="<?=$v?>" /><?php } ?>
			<?php } ?>
			<label for="search" class="lay_none">검색항목 선택</label>
			<select name="column" id="search">
				<option value="name" <?php if ($column == 'name') { ?>selected="selected"<?php } ?>>제목</option>
				<option value="subject" <?php if ($column == 'subject') { ?>selected="selected"<?php } ?>>내용</option>
				<option value="txt" <?php if ($column == 'txt') { ?>selected="selected"<?php } ?>>작성자</option>
			</select>
			<label for="g_keyword" class="lay_none">검색어 입력</label>
			<input id="g_keyword" name="g_keyword" class="keyword" type="text" value="<?=$g_keyword?>" title="검색어를 입력해주세요" />
			<span class="board_search_btn">
				<input type="image" src="/agency/images/board/search_btn.gif" alt="검색" />
			</span>
			</form>
		</div>
	</div>